package com.hkts.reportform.feign;

import com.hkts.reportform.config.FeignHeadersInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

/**
 * @ClassNameFeignInterface
 * @Description
 * @Author yck
 * @Date2020-11-17 16:33
 * @Version V1.0
 **/
@FeignClient(value="naturalgas-authentication",configuration = FeignHeadersInterceptor.class)
public interface FeignInterface {
    @GetMapping("/authentication/userInfo")
    public Map<String,Object> userInfo();
}

